Methods, systems, and media for modifying user interface colors in connection with the presentation of a video

ABSTRACT

Methods, systems, and media for modifying user interface colors are provided. In some embodiments, the method comprises: receiving a video and color palette information, wherein each color of the color palette information indicates a color of an element of a user interface in which the video is to be presented; identifying a first color for the element, wherein the first color corresponds to a first portion of the video; causing the first portion of the video to be presented, wherein the element of the user interface having the first color is presented; identifying a second color for the element, wherein the second color corresponds to a second portion of the video; and modifying an appearance of the element by changing the color of the element from the first color to the second color while presenting the second portion of the video.

CROSS-REFERENCE TO RELATED APPLICATION

This application is a continuation of U.S. patent application Ser. No.15/490,526, filed Apr. 18, 2017, which is hereby incorporated byreference herein in its entirety.

TECHNICAL FIELD

The disclosed subject matter relates to methods, systems, and media formodifying user interface colors in connection with the presentation of avideo.

BACKGROUND

People frequently watch videos on user devices, such as their mobilephones, tablet computers, etc. These videos are often streamed from avideo sharing service to the user device. In some cases, a video ispresented within a user interface that can include, for example, videoplayer controls (e.g., a pause control, a rewind control, etc.) and/orinformation about the video. However, the colors of different items inthe user interface are typically static, and may therefore clash withthe video during the presentation of the video, which can make theviewing experience jarring to the user. In a more particular example,the static portion of a user interface can continue to conflict with theviewing experience as the scene and colors change when the video isbeing played back in the user interface.

Accordingly, it is desirable to provide methods, systems, and media formodifying user interface colors in connection with the presentation of avideo.

SUMMARY

Methods, systems, and media for modifying user interface colors inconnection with the presentation of a video are provided. In accordancewith some embodiments of the disclosed subject matter, methods formodifying user interface colors in connection with the presentation of avideo are provided, the methods comprising: receiving, at a user device,video data corresponding to a video content item and color paletteinformation corresponding to the video content item, wherein the colorpalette information indicates a plurality of colors each correspondingto a portion of the video content item from a plurality of portions ofthe video content item, and wherein each color of the plurality ofcolors indicates a color of an element of a user interface in which thevideo content item is to be presented on the user device; identifying afirst color for the element of the user interface based on the colorpalette information, wherein the first color corresponds to a firstportion of the video content item; causing the first portion of thevideo content item to be presented within the user interface, whereinthe element of the user interface having the first color is presented;identifying a second color for the element of the user interface,wherein the second color corresponds to a second portion of the videocontent item; and modifying an appearance of the element of the userinterface by changing the color of the element from the first color tothe second color while presenting the second portion of the videocontent item.

In accordance with some embodiments of the disclosed subject matter,systems for modifying user interface colors in connection with thepresentation of a video are provided, the systems comprising: a hardwareprocessor that is programmed to: receive, at a user device, video datacorresponding to a video content item and color palette informationcorresponding to the video content item, wherein the color paletteinformation indicates a plurality of colors each corresponding to aportion of the video content item from a plurality of portions of thevideo content item, and wherein each color of the plurality of colorsindicates a color of an element of a user interface in which the videocontent item is to be presented on the user device; identify a firstcolor for the element of the user interface based on the color paletteinformation, wherein the first color corresponds to a first portion ofthe video content item; cause the first portion of the video contentitem to be presented within the user interface, wherein the element ofthe user interface having the first color is presented; identify asecond color for the element of the user interface, wherein the secondcolor corresponds to a second portion of the video content item; andmodify an appearance of the element of the user interface by changingthe color of the element from the first color to the second color whilepresenting the second portion of the video content item.

In accordance with some embodiments of the disclosed subject matter,non-transitory computer-readable media containing computer executableinstructions that, when executed by a processor, cause the processor toperform a method for modifying user interface colors in connection withthe presentation of a video are provided. The methods comprise:receiving, at a user device, video data corresponding to a video contentitem and color palette information corresponding to the video contentitem, wherein the color palette information indicates a plurality ofcolors each corresponding to a portion of the video content item from aplurality of portions of the video content item, and wherein each colorof the plurality of colors indicates a color of an element of a userinterface in which the video content item is to be presented on the userdevice; identifying a first color for the element of the user interfacebased on the color palette information, wherein the first colorcorresponds to a first portion of the video content item; causing thefirst portion of the video content item to be presented within the userinterface, wherein the element of the user interface having the firstcolor is presented; identifying a second color for the element of theuser interface, wherein the second color corresponds to a second portionof the video content item; and modifying an appearance of the element ofthe user interface by changing the color of the element from the firstcolor to the second color while presenting the second portion of thevideo content item.

In accordance with some embodiments of the disclosed subject matter,systems for modifying user interface colors in connection with thepresentation of a video are provided, the systems comprising: means forreceiving, at a user device, video data corresponding to a video contentitem and color palette information corresponding to the video contentitem, wherein the color palette information indicates a plurality ofcolors each corresponding to a portion of the video content item from aplurality of portions of the video content item, and wherein each colorof the plurality of colors indicates a color of an element of a userinterface in which the video content item is to be presented on the userdevice; means for identifying a first color for the element of the userinterface based on the color palette information, wherein the firstcolor corresponds to a first portion of the video content item; meansfor causing the first portion of the video content item to be presentedwithin the user interface, wherein the element of the user interfacehaving the first color is presented; means for identifying a secondcolor for the element of the user interface, wherein the second colorcorresponds to a second portion of the video content item; and means formodifying an appearance of the element of the user interface by changingthe color of the element from the first color to the second color whilepresenting the second portion of the video content item.

In some embodiments, the element is an overlay graphic that ispositioned to be presented over the presentation of the video contentitem within the user interface.

In some embodiments, the color palette information includes blendinginformation that indicates a presentation mode in which the overlaygraphic is to be presented in connection with the video content item.

In some embodiments, the systems further comprise: means for determiningthat the user device does not have a capability to blend the overlaygraphic with the first portion of the video content item; in response tothe means for determining that the user device does not have thecapability to blend the overlay graphic with the first portion of thevideo content item, means for applying a transparency value to the firstportion of the video content item.

In some embodiments, the systems further comprise means for creating acomposite first portion of the video content item by blending theoverlay graphic with the first portion of the video content item usingthe blending information, wherein causing the first portion of the videocontent item to be presented comprises causing the composite firstportion of the video content item to be presented.

In some embodiments, the color palette information includes contrastinformation that indicates a contrast ratio of text of the element ofthe user interface to a background color of the element of the userinterface.

In some embodiments, the color palette information includes an idlecolor for the element of the user interface when the user interface isdetermined to be in an idle state and an active color for the element ofthe user interface when the user interface is determined to be in anactive state.

BRIEF DESCRIPTION OF THE DRAWINGS

Various objects, features, and advantages of the disclosed subjectmatter can be more fully appreciated with reference to the followingdetailed description of the disclosed subject matter when considered inconnection with the following drawings, in which like reference numeralsidentify like elements.

FIG. 1 shows an example of a process for generating a color palette fora frame of a video in accordance with some embodiments of the disclosedsubject matter.

FIGS. 2A and 2B show illustrative examples of schematic diagrams forgenerating color palettes for multiple frames of a video in accordancewith some embodiments of the disclosed subject matter.

FIG. 3 shows a schematic diagram of an illustrative system suitable forimplementation of mechanisms described herein for generating colorpalettes for videos in accordance with some embodiments of the disclosedsubject matter.

FIG. 4 shows a detailed example of hardware that can be used in a serverand/or a user device of FIG. 3 in accordance with some embodiments ofthe disclosed subject matter.

FIG. 5 shows an example of a user interface for presenting a videocontent item based on a determined color palette in accordance with someembodiments of the disclosed subject matter.

FIG. 6 shows an example of a process for modifying an appearance of auser interface based on a color palette associated with a video contentitem in accordance with some embodiments of the disclosed subjectmatter.

FIG. 7 shows an example of a user interface for presenting a videocontent item with an appearance updated based on color paletteinformation in accordance with some embodiments of the disclosed subjectmatter.

DETAILED DESCRIPTION

In accordance with various embodiments, mechanisms (which can includemethods, systems, and media) for modifying user interface colors inconnection with the presentation of a video are provided.

In some embodiments, the mechanisms described herein can identifycontent color data that describes one or more colors of the contentappearing in a frame of a video. For example, in some embodiments, thecontent color data can indicate a dominant color of the frame or a colorthat appears most frequently within content of the video during thatframe. In some embodiments, the mechanisms can then generate a colorpalette based on the identified content color data. For example, in someembodiments, the color palette can indicate a color of various portionsof a user interface in which the video is presented on a user device,such as a section indicating information about the video, colors ofvideo player controls, colors of graphical overlays superimposed onpresentation of the video content item, and/or any other suitableportions of the user interface. In some embodiments, the mechanismsdescribed herein can repeat the content color data identification andcolor palette generation for multiple frames of the video (e.g., framesthat are one second apart throughout the video, and/or any othersuitable frames). The mechanisms can then transmit the color paletteinformation for the frames to a user device that requested the video forpresentation, thereby allowing the user device to use the color paletteinformation to dynamically change a color scheme of one or more userinterface elements in which the video is presented during presentationof the video.

In some embodiments, the mechanisms can determine the content color datausing any suitable technique or combination of techniques. For example,in some embodiments, the mechanisms can cluster pixels within a framebased on a color of each pixel, and can identify the cluster having themost pixels. In another example, in some embodiments, the mechanisms cancluster pixels within a particular area of a frame by grouping orconnecting pixels within a particular color range and can identify thecolor range or color ranges having a number of pixels greater than aparticular threshold number of pixels. The mechanisms can then determinethat a main color or a dominant color for the frame is the averagecolor, or other suitable combination, of the pixels within the clusterhaving the most pixels or the average color, or other suitablecombination, of the pixels within the cluster or clusters having anumber of pixels greater than a threshold number of pixels.

In some embodiments, the mechanisms described herein can modify a userinterface and/or user interface elements on a user device in which avideo content item is presented based on the color palette informationthat describes the color of content being presented in the video contentitem. For example, in some embodiments, a server that determines colorpalettes corresponding to different frames of the video content item cantransmit the color palette information to the user device in response toa request from the user device to present the video content item. Insome embodiments, the user device can then use the color paletteinformation to modify attributes of the user interface duringpresentation of the video content item. For example, in someembodiments, the user device can set initial user interface parameters(e.g., colors of video player controls, colors of sections of the userinterface presenting information about the video, colors of overlayssuperimposed on presentation of the video content item, and/or any othersuitable parameters) for a first portion of the video content item(e.g., a first second of the video, and/or any other suitable firstportion) based on first color palette information (e.g., a first set ofvalues, and/or any other suitable information). The user device can thenmodify the user interface parameters based on second color paletteinformation (e.g., a second set of values, and/or any other suitableinformation) that corresponds to a second portion of the video contentitem while continuing to present the video content item within the userinterface.

In some embodiments, the mechanisms described herein can accelerateprocessing by a processing unit of a user device presenting the videocontent item. For example, in some embodiments, processing by a GraphicsProcessing Unit (GPU) of the user device can be accelerated by blendinguser interface elements using the color palette information with thevideo content item. Additionally, by transmitting the color paletteinformation in a computer-readable format, such as an array of colorvalues where each color value corresponds to a different segment of thevideo content item, the color palette information can be transmittedwithout requiring much additional bandwidth relative to the bandwidthrequired to transmit the video content item to the user device.Furthermore, by transmitting the color palette information as an arrayof color values, individual user devices that receive the color paletteinformation can modify the color palette information in any suitablemanner in modifying colors of the user interface elements. For example,in some embodiments, an individual user device that receives a videocontent item from a server with corresponding color palette informationcan modify transparency values associated with a color for a particularuser interface element, and/or modify color values in any other suitablemanner. In another example, in some embodiments, a user device executinga first media playback application to present a video content item canapply the color palette information differently than the same userdevice executing a second media playback application to present thevideo content item. In yet another example, in some embodiments, a userdevice can apply the color palette information on a user interfacepresented by a media playback application differently than a differentuser device executing the same media playback application to present theuser interface for presenting the video content item (e.g., based ondevice capabilities, based on device preferences, etc.).

Turning to FIG. 1, an example 100 of a process for color paletteextraction for frames of a video is shown in accordance with someembodiments of the disclosed subject matter. In some embodiments, theblocks of process 100 can be implemented on one or more servers, asshown in and described below in connection with FIG. 3.

In some embodiments, process 100 can begin at 102 by identifying a frameof a video for analysis. In some embodiments, the frame can be chosen inany suitable manner. For example, in some embodiments, the frame can bea first frame of the video. As another example, in some embodiments,process 100 can loop through the video and identify every Nth frame foranalysis (e.g., every tenth frame, every twentieth frame, and/or anyother suitable frame). As a more particular example, in someembodiments, process 100 can identify one frame that represents anysuitable duration of time of the video (e.g., one second, two seconds,and/or any other suitable duration). As a specific example, if the framerate of the video is 10 frames per second, and process 100 identifiesone frame that represents a second of the video, process 100 canidentify every tenth frame for analysis. As yet another more particularexample, in some embodiments, process 100 can identify particular framesfor analysis based on any suitable criterion, such as a particularobject appearing in the frame, a particular color threshold being met(e.g., such that initial frames including black space is not submittedfor analysis), etc.

At 104, in some embodiments, process 100 can cluster pixels of theidentified frame based on colors of the pixels. In some embodiments,process 100 can cluster the pixels into any suitable number of pixels(e.g., two, five, ten, and/or any other suitable number). Note that, insome embodiments, the number of clusters can vary based on any suitableinformation (e.g., a genre of the video content item, a resolution ofthe video content item, and/or any other suitable information). In someembodiments, process 100 can cluster the pixels of the identified frameusing any suitable technique or combination of techniques. For example,in some embodiments, process 100 can cluster the pixels using a group ofthresholds corresponding to each cluster. As a more particular example,in some embodiments, process 100 can compare color values (e.g., hue,saturation, and value, or HSV, parameters for each pixel, and/or anyother suitable values) for a pixel to predetermined threshold valuescorresponding to different clusters to assign the pixel to a particularcluster. As a specific example, process 100 can determine that a pixelwith a hue parameter between 26 degrees and 52 degrees, a saturationparameter between 0.3 and 0.6, and a value parameter between 0.3 and 0.6is to be assigned to a first cluster. As another example, in someembodiments, process 100 can use any suitable statistical classificationor machine learning technique(s) to cluster the pixels (e.g., aK-nearest neighbors algorithm, and/or any other suitable clusteringalgorithm).

At 106, in some embodiments, upon obtaining multiple clusters of pixels,process 100 can calculate an average color for each cluster in the top Nclusters with the most pixels assigned to the cluster. For example, inan instance where process 100 clustered the pixels into ten clusters atblock 104, N can be any suitable number less than ten (e.g., three,five, and/or any other suitable number). In some embodiments, process100 can rank the clusters from block 104 based on the number of pixelsassigned to each cluster and can calculate the average color for each ofthe N top-ranked clusters. In some embodiments, process 100 cancalculate an average color using any suitable technique or combinationof techniques. For example, in some embodiments, process 100 can averageindividual components of a color indicating scale (e.g., Red, Green,Blue, or RGB, values, HSV values, and/or any other suitable colorindicating scale). As a more particular example, in instances wherecolors are indicated using RGB values, process 100 can calculate theaverage color by averaging all R values for all of the pixels in thecluster, all G values for all of the pixels in the cluster, and all Bvalues for all of the pixels in the cluster, and calculating the averagecolor as the color resulting from the average R, G, and B values. Insome embodiments, process 100 can discard one or more pixels that havebeen determined as likely to be outliers, for example, black pixels inthe middle of a group of non-black pixels, pixels that are similar toparticular colors (e.g., similar to and/or close to white, similar toand/or close to black, similar to and/or close to particular shades ofyellow, and/or any other suitable colors or shades), and/or any othersuitable pixels. For example, in instances where process 100 discardspixels that are white or similar to white and where color information isstored in an RGB format, process 100 can discard any pixels with colorinformation within a predetermined range of (255, 255, 255), such aspixels with red, green, and blue pixels above a predetermined threshold(e.g., above 250, above 220, and/or any other suitable threshold).

In some embodiments, process 100 can select a cluster of the top Nclusters with an average color most similar to content color data of apreviously analyzed frame at 108. For example, in some embodiments,process 100 can select the cluster with an average color most similar toa main color or dominant color of a frame corresponding to the previoussecond of video. As another example, in some embodiments, process 100can select the cluster with an average color most similar to a maincolor or dominant color of the frame that was previously analyzed byprocess 100. In some embodiments, process 100 can determine similarityof the average colors of the clusters to the content color data of theprevious frame using any suitable technique or combination oftechniques. For example, in some embodiments, process 100 can calculatea distance metric (e.g., a Euclidean distance, and/or any other suitabledistance metric) of the average color of each of the top N clusters andthe main color of the previous frame, and can select the cluster withthe lowest distance metric.

Note that, in some embodiments, process 100 can select the main color orthe dominant color of the first frame using any suitable technique orcombination of techniques. For example, in some embodiments, process 100can use the clustering technique described above in connection withblock 104 to partition the first frame into any suitable number ofclusters, and can use the technique described above in connection withblock 106 to determine an average color of each of the clusters. In someembodiments, process 100 can select the main color or the dominant colorof the first frame based on the average colors of the clusters. Forexample, in some embodiments, process 100 can select the main color orthe dominant color to be the average color of the largest cluster. Asanother example, in some embodiments, process 100 can select the maincolor or the dominant color to be the average color of a cluster in aparticular spatial region of the first frame. As a more particularexample, in some embodiments, process 100 can select the main color orthe dominant color to be the average color of a cluster that spans atleast a center portion of the first frame.

At 110, in some embodiments, process 100 can determine whether theselected average color determined to be most similar to content colordata of a previously analyzed frame is to be selected as the contentcolor data of the frame currently being analyzed. For example, in someembodiments, process 100 can determine whether the selected averagecolor is to be selected as a main color or dominant color of the framecurrently being analyzed. Process 100 can determine whether to selectthe average color based on any suitable information. For example, insome embodiments, process 100 can determine that the average color isnot to be selected as the content color data of the current frame if theaverage color is similar to a particular color and/or shade of color(e.g., a particular shade of yellow, a particular shade of orange,and/or any other suitable particular color or shade). In someembodiments, process 100 can determine that the average color is to beselected as content color data of the current frame as a default. Notethat, in some embodiments, process 100 can make any suitablemodifications to the average color prior to setting the average color tobe the content color data of the current frame. For example, in someembodiments, process 100 can adjust a saturation and/or a brightnesslevel of the average color. As a more particular example, in instanceswhere the average color is yellow and/or similar to yellow, process 100can adjust a saturation and/or a brightness value associated with theaverage color to be below a predetermined threshold (e.g., below 65,below 80, and/or any other suitable value). In some embodiments, process100 can preferentially select particular colors as the content colordata based on any suitable information. For example, in someembodiments, process 100 can determine that the selected content colordata is to be a shade of a particular color (e.g., red, blue, green,and/or any other suitable color) based on an entity associated with aservice providing the video content item. As a more particular example,process 100 can determine that the selected content color data is to bea shade of red if a first video sharing service or social networkingservice is providing the video content item and can determine that theselected content color data is to be a shade of blue if a second videosharing service or social networking service is providing the videocontent item.

Note that, in some embodiments, process 100 can process multiple framesof the video at once. For example, in some embodiments, process 100 cangenerate a mosaic representing multiple frames of the video spanning anysuitable duration of the video, as shown by mosaic 200 of FIG. 2A. Forexample, in some embodiments, mosaic 200 can have any suitable number offrames (e.g., 4, 9, 25, and/or any other suitable number), where eachframe represents any suitable portion of the video. As a more particularexample, in some embodiments, each frame can be one second apart in thevideo, and a mosaic with, for example, 25 frames can therefore represent25 seconds of the video. In some embodiments, process 100 can thenidentify content color data (e.g., a main color and/or a dominant colorof the frame, and/or any other suitable content color data) for eachframe in mosaic 100, using the techniques described above in connectionwith blocks 104-110. Process 100 can then generate a color mosaic 250that indicates content color data for each frame in mosaic 100. Colormosaic 250 can therefore indicate, in one mosaic, content color data formultiple frames of the video.

It should be noted that mosaic 200 of FIG. 2A is merely illustrative andcan be presented in any suitable manner. For example, each analyzedframe can be presented in a mosaic configuration and, within eachpresented frame, the determined color content data can be concurrentlypresented in a portion of the frame (e.g., an area containing thedetermined color content data in a corner of the frame). In anotherexample, each analyzed frame can be blended, or otherwise combined, withthe determined color content data in the presented mosaic.

If, at block 110, process 100 determines that the average color is notto be selected as the content color data of the current frame (“no” at110), process 100 can loop back to 108 and select an average color of adifferent cluster. For example, process 100 can determine that a clusterhaving the next highest number of pixels is used to determine the colorcontent data.

If, at block 110, process 100 determines that the average color is to beselected as the content color data of the current frame (“yes” at 110),process 100 can proceed to block 112 and can determine a color palettefor the current frame based on the content color data. In someembodiments, the color palette can specify colors for any suitableportions of a user interface in which the video content item is beingpresented. For example, as shown in user interface 500 of FIG. 5, thecolor palette can specify colors for different sections 504 of userinterface 500 in which video 502 is being presented. As a moreparticular example, individual sections within sections 504 can eachindicate different types of information, such as information about thevideo (e.g., a name of the creator, a number of views of the video,and/or any other suitable information), comments from viewers of thevideo, recommended videos determined to be similar to the video, and/orany other suitable information. In some embodiments, each section ofsections 504 can be presented in a text and with a background colorbased on the content color data selected at block 110. Additionally, insome embodiments, the color palette can indicate colors of any suitableuser interface navigation components, as indicated in navigation panel506, such as video player controls (e.g., a pause control, a rewindcontrol, a video frame navigation control, and/or any other suitablecontrols). In some embodiments, the color palette can assign colors toparticular user interface elements based on a state of the userinterface. For example, the color of a user interface control when theuser interface is determined to be in an active state (e.g., when acursor is hovered in a particular position within user interface 500,when a particular portion of user interface 500 is active, and/or basedon any other suitable determination) can be different than the color ofthe user interface control when the user interface is determined to bein an idle state, as shown in user interface 500.

In some embodiments, process 100 can determine the colors of the colorpalette in any suitable format, as shown in schematic 550. For example,in some embodiments, process 100 can identify a color for each type ofcontent in content types 552. In some embodiments, the colors in thecolor palette can be in any suitable format, for example, in hexadecimalvalues as shown in FIG. 5, and/or in any other suitable format (e.g.,HSV values, RGB values, and/or any other suitable format). Additionally,as shown in FIG. 5, the color palette information can include any othersuitable information, such as contrast ratios between different types ofcontent. For example, as shown in FIG. 5, the color palette informationcan indicate a contrast ratio for a user interface icon in an idle statewith text in a particular section of user interface 500.

Note that, in some embodiments, process 100 can determine multiple colorpalettes, for example, corresponding to different themes based on thecontent color data. For example, in some embodiments, process 100 candetermine a first color palette corresponding to a dark theme, a secondcolor palette corresponding to a light theme, and a third color palettecorresponding to a vibrant theme. As a more particular example, in someembodiments, the first color palette corresponding to the dark theme cancontain background colors that are generally darker than correspondingcolors in the light theme and the vibrant theme. In some embodiments, afirst color palette (e.g., corresponding to a dark theme) can begenerated, and other color palettes corresponding to other themes (e.g.,light, vibrant, and/or any other suitable themes) can be generated basedon the first color palette, for example, by decreasing color values by apredetermined percentage (e.g., by 5%, by 10%, and/or by any othersuitable percentage) for each theme. In some embodiments, each of thefirst color palette, second color palette, and third color palette canhave different contrast ratios based on background text colors and textcolors for each color palette. For example, in some embodiments, thecontrast ratios can be set such that text when appearing superimposed ona background of a particular color is generally readable (e.g., complieswith any suitable accessibility standards, and/or meets any othersuitable standards).

In some embodiments, process 100 can loop through the video anddetermine color palette information for multiple frames or groups offrames (e.g., using mosaics as described above in connection with FIG.2) for the video content item. For example, in instances where process100 analyzes every ten frames of the video, process 100 can process thesubsequent frame in the sequence of frames. In some embodiments, process100 can store color palette information for each frame or portion of thevideo in an array, and can store the aggregated color paletteinformation in any suitable format, such as an array of arrays.

Process 100 can convert the color palette to any suitable format atblock 114. For example, in some embodiments, process 500 can convertindividual color palette values (e.g., a color of a background of aparticular section, a color of a navigation control in an active state,and/or any other suitable color palette values) in a hexadecimal formatto equivalent values in an RGB format. In some embodiments, process 100can use any suitable equations and or transformation algorithms toconvert the color palette values to the suitable format. In someembodiments, process 100 can select the format type based on a type ofuser device which the color palette values are to be sent to.Additionally or alternatively, in some embodiments, process 100 canconvert the color palette values to multiple formats to be suitable formultiple device types. In some embodiments, process 100 can indicate anyother suitable information in the color palette for each frame, such asan opacity/transparency associated with each item in the color palette.In some embodiments, the opacity/transparency value can have a defaultvalue (e.g., 1 indicating a fully opaque element, and/or any othersuitable value), and the value can be modified by a user device whenrendering the video content item in accordance with the color palette.

Note that, in some embodiments, process 100 can convert the colorpalette to a particular format based on a platform of a user device thatis to receive the color palette information. For example, in someembodiments, process 100 can convert the color palette to a first formatfor user devices that are desktop computers, a second format for userdevices that are mobile devices, and a third format for user devicesthat are smart televisions.

In some embodiments, process 100 can transmit the color palette to auser device at 116. In some embodiments, the user device can be anysuitable user device, such as a user device that requested the videocontent item from a server hosting the video. In some embodiments,process 100 can transmit multiple color palettes, where each colorpalette corresponds to a subset of frames (e.g., one frame of the video,one second of the video, and/or any other suitable subset) of the video.Additionally, in some embodiments, multiple color palettes, eachcorresponding to a different theme (e.g., dark, light, vibrant, and/orany other suitable theme) can be transmitted to the user device.

In some embodiments, the user device can then use the received colorpalette(s) to dynamically modify a user interface in which the video isbeing presented during presentation of the video. For example, in someembodiments, colors of video player controls can be modified tocorrespond to an average color of a particular subset of the videoduring presentation of that subset of the video. As another example, insome embodiments, colors of sections of the user interface can bemodified to correspond to an average color of a particular subset of thevideo during presentation of that subset of the video.

Turning to FIG. 3, an example of an illustrative system 300 suitable forimplementation of mechanisms described herein for color paletteextraction for videos is shown in accordance with some embodiments ofthe disclosed subject matter is shown. As illustrated, hardware 300 caninclude one or more servers, such as a server 302, a communicationnetwork 304, and/or one or more user devices 306, such as user devices308 and 310.

In some embodiments, server(s) 302 can be any suitable server(s) foridentifying color palettes for different frames of a video. For example,in some embodiments, server(s) 302 can identify content color data suchas a main color or a dominant color for a particular frame of the videoand can identify a palette of colors that can be used in different userinterface contexts when presenting the video based on the content colordata, as shown in and described above in connection with FIG. 1. Notethat, in some embodiments, the content color data of the frame can becalculated on a first server (e.g., an image server) and the colorpalette can be determined on a second server (e.g., a server that hostsand/or transmits the video to user devices 306). In some embodiments,server(s) 302 can identify the content color data in any suitablemanner, for example, by clustering pixels of the frame based on colorand identifying an average color for each pixel, as described above inconnection with FIG. 3.

Communication network 304 can be any suitable combination of one or morewired and/or wireless networks in some embodiments. For example,communication network 306 can include any one or more of the Internet,an intranet, a wide-area network (WAN), a local-area network (LAN), awireless network, a digital subscriber line (DSL) network, a frame relaynetwork, an asynchronous transfer mode (ATM) network, a virtual privatenetwork (VPN), and/or any other suitable communication network. Userdevices 306 can be connected by one or more communications links 312 tocommunication network 304 that can be linked via one or morecommunications links (e.g., communications link 314) to server(s) 302.Communications links 312 and/or 314 can be any communications linkssuitable for communicating data among user devices 306 and server(s) 302such as network links, dial-up links, wireless links, hard-wired links,any other suitable communications links, or any suitable combination ofsuch links.

In some embodiments, user devices 306 can include one or more computingdevices suitable for presenting a video content item, receiving colorpalette information from server(s) 302, presenting user interfacecontrols in accordance with the received color palette information,and/or any other suitable functions. For example, in some embodiments,user devices 306 can be implemented as a mobile device, such as asmartphone, mobile phone, a tablet computer, a laptop computer, avehicle (e.g., a car, a boat, an airplane, or any other suitablevehicle) entertainment system, a portable media player, and/or any othersuitable mobile device. As another example, in some embodiments, userdevices 306 can be implemented as a non-mobile device such as a desktopcomputer, a set-top box, a television, a streaming media player, a gameconsole, and/or any other suitable non-mobile device.

Although server 302 is illustrated as a single device, the functionsperformed by server 302 can be performed using any suitable number ofdevices in some embodiments. For example, in some embodiments, thefunctions performed by server 302 can be performed on a single server.As another example, in some embodiments, multiple devices can be used toimplement the functions performed by server 302.

Although two user devices 308 and 310 are shown in FIG. 3, any suitablenumber of user devices, and/or any suitable types of user devices, canbe used in some embodiments.

Server(s) 302 and user devices 306 can be implemented using any suitablehardware in some embodiments. For example, in some embodiments, devices302 and 306 can be implemented using any suitable general purposecomputer or special purpose computer. For example, a server may beimplemented using a special purpose computer. Any such general purposecomputer or special purpose computer can include any suitable hardware.For example, as illustrated in example hardware 400 of FIG. 4, suchhardware can include hardware processor 402, memory and/or storage 404,an input device controller 406, an input device 408, display/audiodrivers 410, display and audio output circuitry 412, messageinterface(s) 414, an antenna 416, and a bus 418.

Hardware processor 402 can include any suitable hardware processor, suchas a microprocessor, a micro-controller, digital signal processor(s),dedicated logic, and/or any other suitable circuitry for controlling thefunctioning of a general purpose computer or a special purpose computerin some embodiments. In some embodiments, hardware processor 402 can becontrolled by a server program stored in memory and/or storage 404 of aserver (e.g., such as server 302). For example, the server program cancause hardware processor 402 to analyze frames of a video to determine amain color for each frame, determine a color palette for each framebased on the main color of the frame, transmit the color paletteinformation to user devices in connection with transmission of thevideo, and/or perform any other suitable actions. In some embodiments,hardware processor 402 can be controlled by a computer program stored inmemory and/or storage 404 of user device 306. For example, the computerprogram can cause hardware processor 402 to present a video contentitem, present user interface controls in connection with the receivedvideo content item in accordance with received color paletteinformation, and/or perform any other suitable actions.

Memory and/or storage 404 can be any suitable memory and/or storage forstoring programs, data, media content, advertisements, and/or any othersuitable information in some embodiments. For example, memory and/orstorage 404 can include random access memory, read-only memory, flashmemory, hard disk storage, optical media, and/or any other suitablememory.

Input device controller 406 can be any suitable circuitry forcontrolling and receiving input from one or more input devices 408 insome embodiments. For example, input device controller 406 can becircuitry for receiving input from a touchscreen, from a keyboard, froma mouse, from one or more buttons, from a voice recognition circuit,from a microphone, from a camera, from an optical sensor, from anaccelerometer, from a temperature sensor, from a near field sensor,and/or any other type of input device. In another example, input devicecontroller 406 can be circuitry for receiving input from ahead-mountable device (e.g., for presenting virtual reality content oraugmented reality content).

Display/audio drivers 410 can be any suitable circuitry for controllingand driving output to one or more display/audio output devices 412 insome embodiments. For example, display/audio drivers 410 can becircuitry for driving a touchscreen, a flat-panel display, a cathode raytube display, a projector, a speaker or speakers, and/or any othersuitable display and/or presentation devices.

Communication interface(s) 414 can be any suitable circuitry forinterfacing with one or more communication networks, such as network 304as shown in FIG. 3. For example, interface(s) 414 can include networkinterface card circuitry, wireless communication circuitry, and/or anyother suitable type of communication network circuitry.

Antenna 416 can be any suitable one or more antennas for wirelesslycommunicating with a communication network (e.g., communication network304) in some embodiments. In some embodiments, antenna 416 can beomitted.

Bus 418 can be any suitable mechanism for communicating between two ormore components 402, 404, 406, 410, and 414 in some embodiments.

Any other suitable components can be included in hardware 400 inaccordance with some embodiments.

Turning to FIG. 6, an illustrative example 600 of a process formodifying an appearance of a user interface while presenting a videocontent item is shown in accordance with some embodiments of thedisclosed subject matter. In some embodiments, blocks of process 600 canbe implemented on a user device, such as a user device that transmits arequest for a video content item from a server that hosts and/or streamsvideo content items, as shown in and described above in connection withFIG. 3.

In some embodiments, process 600 can begin by receiving, at a userdevice, a video content item and color palette information correspondingto the video at 602. In some embodiments, the user device can receivethe video content item and the color palette information in response toa request for the video content item. For example, in some embodiments,the user device can transmit a request for the video content item inresponse to receiving, from a user of the user device, a selection of anidentifier of the video content item for presentation on the userdevice. In some embodiments, the color palette information can bereceived in any suitable format. For example, in some embodiments, thecolor palette information can be received as an array of arrays or amatrix, where a first dimension corresponds to a particular frame of thevideo content item and a second dimension corresponds to color paletteinformation for the particular frame. As a more particular example, insome embodiments, the second dimension can include color information inany suitable format (e.g., RGB values, HSV values, hexadecimal values,and/or any other suitable values) for different portions of a userinterface in which the video content item is presented. Additionally, insome embodiments, the color palette information can include multiplecolor palettes each corresponding to a different theme (e.g., a darktheme, a light theme, a vibrant theme, and/or any other suitable theme).

In some embodiments, process 600 can identify initial appearanceparameters for the user interface based on the color palette informationat 604. For example, as described above, the initial appearanceparameters can include colors for different sections or components ofthe user interface. As a more particular example, the parameters caninclude a first color for video player controls of the user interfacewhen in an active state (e.g., when the video player is tapped, clickedor otherwise selected) and a second color for the video player controlsof the user interface when in an idle state (e.g., when the video playerhas not been selected in more than a predetermined duration of time). Asanother more particular example, in some embodiments, the parameters caninclude colors for different sections of the user interface, forexample, a first color for a first section of the user interface thatprovides information about the video content item, a second color for asecond section of the user interface that provides recommendations ofother videos to a user of the user interface, etc. As yet another moreparticular example, in some embodiments, the parameters can includecolors for graphic overlays (e.g., graphics that indicate a selectableinput to view other video content items created by the creator of thevideo content item, graphics that indicate a channel or group of videosassociated with the video content item, and/or any other suitablegraphic overlays) presented over the video content item duringpresentation of the video content item. In instances where the colorpalette information is transmitted to the user device as an array ofarrays or matrix, in some embodiments, process 600 can identify thecolor palette information corresponding to a particular frame or portionof the video content item based on information associated with the firstdimension of the array of arrays.

FIG. 7 shows an example 700 of a user interface for presenting a videocontent item. As illustrated, a video content item 702 can be presentedwithin user interface 700, and sections 704 can each present differentinformation related to video 702 (e.g., information about video contentitem 702, indications of video content items similar to or related tovideo content item 702, indications of video content items that are tobe played after video content item 702 finishes, selectable inputs toshare video content item 702 on social networking sites, and/or anyother suitable information). Additionally, user interface 700 caninclude video player window controls 706, such as rewind andfast-forward controls, and navigation information that indicates aduration of the video content item that remains or has already beenpresented. In some embodiments, an overlay 708 can be presented that issuperimposed on video content item 702. For example, in someembodiments, overlay 708 can indicate information relating to a creatorof video content item 702 (e.g., indications of other videos by thecreator, indications of a channel of video content items associated withthe creator, and/or any other suitable information), captions, and/orany other suitable information. In some embodiments, overlay 708 caninclude any suitable content, such as text, graphics, icons, animations,links, and/or any other suitable content. Additionally, in someembodiments, overlay 708 can be selectable, and selection of overlay 708can cause, for example, a browser window in which user interface 700 ispresented to navigate to a different page. In some embodiments, overlay708 can be overlaid on video content item 702 in any suitable manner.For example, in some embodiments, overlay 708 can be blended withunderlying video content item 702, as described below in connection withblock 606.

Note that, in some embodiments, the color palette information canadditionally include any other suitable information, such as contrastinformation that indicates a contrast ratio of text of a particularsection with a background color of the section, font size or styleinformation for text presented in a particular section, and/or any othersuitable information. Additionally, in some embodiments, the informationcan be selected to conform to any suitable guidelines (e.g.,accessibility guidelines, style guidelines, and/or any other suitableguidelines). For example, in some embodiments, a contrast ratio can beselected that exceeds a predetermined threshold based on accessibilityguidelines.

In some embodiments, process 600 can begin presentation of a firstportion of the video content item within the user interface on the userdevice at 606. In some embodiments, the first portion of the videocontent item can span any suitable duration of time (e.g., a half of asecond, one second, two seconds, and/or any other suitable duration) andcan be composed of any suitable number of frames (e.g., ten frames,twenty frames, thirty frames, and/or any other suitable number). Process600 can present the first portion of the video content item in anysuitable manner. For example, in some embodiments, process 600 can causea video player window to be opened within the user interface and cancause the video content item to begin being presented within the videoplayer window. As a more particular example, in some embodiments,process 600 can cause colors of the video player controls to be thosespecified by the color palette information. Note that, in instanceswhere the color palette information includes multiple palettes eachcorresponding to a different theme, process 600 can select a theme basedon any suitable information. For example, in some embodiments, process600 can select the theme based on user preferences (e.g., entered via asettings interface, and/or obtained in any other suitable manner). Asanother example, in some embodiments, process 600 can select the themebased on any other suitable information, such as a time of day, where aparticular theme (e.g., a vibrant theme) is selected for use duringparticular times of day (e.g., between 8 a.m. and 10 p.m., and/or anyother suitable times of day) and a different theme (e.g., a dark theme)is selected for other times of day.

In some embodiments, process 600 can use any suitable technique orcombination of techniques to render user interface components that areoverlays over presentation of the video content item. For example, insome embodiments, process 600 can use any suitable blend modes to renderthe user interface components overlaid on the video content item. As amore particular example, in some embodiments, process 600 can use ablend mode that mixes pixels from the user interface overlay with pixelsfrom the underlying frame of the video content item in any suitablemanner (e.g., a dissolve blend mode, a multiply blend mode, and/or anyother suitable type of blend mode or combination of blend modes). Asanother more particular example, in some embodiments, process 600 canuse any suitable function to mix pixels from the overlay withcorresponding pixels from the underlying frame of the video contentitem. As a specific example, process 600 can select either a pixel fromthe overlay or the corresponding pixel from the underlying frame of thevideo content item at random. As another specific example, in someembodiments, process 600 can multiply values (e.g., RGB values, HSVvalues, opacity values, and/or any other suitable values) ofcorresponding pixels of the overlay and the underlying frame of thevideo content item. Note that, in some embodiments, any suitablemathematical function can be used to blend the pixel values.Additionally, note that, in instances where a user device uses a blendmode to render an overlay on a frame of the video content item, the userdevice can determine the content of the frame of the video content itemin any suitable manner. For example, in some embodiments, the userdevice can access color information for the frame from the video contentitem transmitted from the server.

As another example, in some embodiments, process 600 can blend the userinterface components with an underlying frame of the video content itemby manipulating an opacity or transparency value associated with theuser interface component. In some embodiments, process 600 can select ablend mode based on capabilities of the user device that is presentingthe video content item. For example, in some embodiments, process 600can determine that the user device does not have a capability toimplement a blend mode based on any suitable information, such as amodel of the user device, a version of a particular applicationexecuting on the mobile device to be used to render the video contentitem, a version of an operating system executing on the mobile device,and/or any other suitable information. As a more particular example, ininstances where process 600 is operating on a particular model of userdevice (e.g., a particular brand or model of mobile phone, a particularbrand or model of tablet computer, and/or any other suitable model ofuser device) that does not support blend modes other than a manipulationof opacity or transparency, process 600 can determine that the userinterface component layer is to be blended with the underlying videocontent item layer by manipulating an opacity or transparency value ofthe user interface component layer. As a specific example, in someembodiments, process 600 can manipulate the opacity or transparency ofthe user interface component layer by setting an alpha value associatedwith the layer to be more or less transparent. In some embodiments,process 600 can select the blend mode based on any other suitableinformation, such as an operating system of the user device, a browserused to present the user interface in which the video content item ispresented, a version of an application used to present the userinterface in which the video content item is presented, and/or any othersuitable information.

In some embodiments, process 600 can identify updated appearanceparameters for the user interface on the color palette information at608. Process 600 can identify the updated appearance parameters usingany suitable technique or combination of techniques. For example, insome embodiments, process 600 can retrieve color palette informationcorresponding to a second portion of the video content item from thearray of arrays or matrix by retrieving the information from a nextindex of the array or matrix.

At 610, process 600 can update the appearance of the user interfacebased on the updated appearance parameters identified at block 608 whilecontinuing to present the video content item. For example, in someembodiments, process 600 can change colors of user interface componentsor sections, change contrast ratios of user interface components orsections, and/or modify an appearance of the user interface in any othersuitable manner while continuing to present the video content item. Insome embodiments, process 600 can continue to present the video contentitem by presenting a second portion of the video content item thatcorresponds to the updated parameters identified at block 608.

In some embodiments, at least some of the above described blocks of theprocesses of FIGS. 1 and 6 can be executed or performed in any order orsequence not limited to the order and sequence shown in and described inconnection with the figure. Also, some of the above blocks of FIGS. 1and 6 can be executed or performed substantially simultaneously whereappropriate or in parallel to reduce latency and processing times.Additionally or alternatively, some of the above described blocks of theprocesses of FIGS. 1 and 6 can be omitted.

In some embodiments, any suitable computer readable media can be usedfor storing instructions for performing the functions and/or processesherein. For example, in some embodiments, computer readable media can betransitory or non-transitory. For example, non-transitory computerreadable media can include media such as magnetic media (such as harddisks, floppy disks, and/or any other suitable magnetic media), opticalmedia (such as compact discs, digital video discs, Blu-ray discs, and/orany other suitable optical media), semiconductor media (such as flashmemory, electrically programmable read-only memory (EPROM), electricallyerasable programmable read-only memory (EEPROM), and/or any othersuitable semiconductor media), any suitable media that is not fleetingor devoid of any semblance of permanence during transmission, and/or anysuitable tangible media. As another example, transitory computerreadable media can include signals on networks, in wires, conductors,optical fibers, circuits, any suitable media that is fleeting and devoidof any semblance of permanence during transmission, and/or any suitableintangible media.

In situations in which the systems described herein collect personalinformation about users, or make use of personal information, the usersmay be provided with an opportunity to control whether programs orfeatures collect user information (e.g., information about a user'ssocial network, social actions or activities, profession, a user'spreferences, or a user's current location). In addition, certain datamay be treated in one or more ways before it is stored or used, so thatpersonal information is removed. For example, a user's identity may betreated so that no personal information can be determined for the user,or a user's geographic location may be generalized where locationinformation is obtained (such as to a city, ZIP code, or state level),so that a particular location of a user cannot be determined. Thus, theuser may have control over how information is collected about the userand used by a content server.

Accordingly, methods, systems, and media for modifying user interfacecolors in connection with the presentation of a video are provided.

Although the invention has been described and illustrated in theforegoing illustrative embodiments, it is understood that the presentdisclosure has been made only by way of example, and that numerouschanges in the details of implementation of the invention can be madewithout departing from the spirit and scope of the invention, which islimited only by the claims that follow. Features of the disclosedembodiments can be combined and rearranged in various ways.

What is claimed is:
 1. A method for modifying user interface colors, themethod comprising: receiving, at a user device, video data correspondingto a video content item and color palette information corresponding tothe video content item, wherein the color palette information indicatesa plurality of colors each corresponding to a portion of the videocontent item from a plurality of portions of the video content item, andwherein each color of the plurality of colors indicates a color of anelement of a user interface in which the video content item is to bepresented on the user device; identifying a first color for the elementof the user interface based on the color palette information, whereinthe first color corresponds to a first portion of the video contentitem; determining whether the user device is capable of blending thecolor of the element of the user interface to obtain the first colorfrom the color palette information; in response to the determination,causing the first portion of the video content item to be presentedwithin the user interface, wherein the color of the element of the userinterface is blended to obtain the first color; identifying a secondcolor for the element of the user interface, wherein the second colorcorresponds to a second portion of the video content item; and updatingan appearance of the element of the user interface by blending the colorof the element from the first color to the second color while presentingthe second portion of the video content item.
 2. The method of claim 1,wherein the element is an overlay graphic that is positioned to bepresented over the presentation of the video content item within theuser interface.
 3. The method of claim 2, wherein the color paletteinformation includes blending information that indicates a presentationmode in which the overlay graphic is to be presented in connection withthe video content item.
 4. The method of claim 3, further comprising:determining that the user device does not have a capability to blend theoverlay graphic with the first portion of the video content item; and inresponse to determining that the user device does not have thecapability to blend the overlay graphic with the first portion of thevideo content item, applying a transparency value to the first portionof the video content item.
 5. The method of claim 3, further comprisingcreating a composite first portion of the video content item by blendingthe overlay graphic with the first portion of the video content itemusing the blending information, wherein causing the first portion of thevideo content item to be presented comprises causing the composite firstportion of the video content item to be presented.
 6. The method ofclaim 1, wherein the color palette information includes contrastinformation that indicates a contrast ratio of text of the element ofthe user interface to a background color of the element of the userinterface.
 7. The method of claim 1, wherein the color paletteinformation includes an idle color for the element of the user interfacewhen the user interface is determined to be in an idle state and anactive color for the element of the user interface when the userinterface is determined to be in an active state.
 8. A system formodifying user interface colors, the system comprising: a hardwareprocessor that is configured to: receive, at a user device, video datacorresponding to a video content item and color palette informationcorresponding to the video content item, wherein the color paletteinformation indicates a plurality of colors each corresponding to aportion of the video content item from a plurality of portions of thevideo content item, and wherein each color of the plurality of colorsindicates a color of an element of a user interface in which the videocontent item is to be presented on the user device; identify a firstcolor for the element of the user interface based on the color paletteinformation, wherein the first color corresponds to a first portion ofthe video content item; determine whether the user device is capable ofblending the color of the element of the user interface to obtain thefirst color from the color palette information; in response to thedetermination, cause the first portion of the video content item to bepresented within the user interface, wherein the color of the element ofthe user interface is blended to obtain the first color; identify asecond color for the element of the user interface, wherein the secondcolor corresponds to a second portion of the video content item; andupdate an appearance of the element of the user interface by blendingthe color of the element from the first color to the second color whilepresenting the second portion of the video content item.
 9. The systemof claim 8, wherein the element is an overlay graphic that is positionedto be presented over the presentation of the video content item withinthe user interface.
 10. The system of claim 9, wherein the color paletteinformation includes blending information that indicates a presentationmode in which the overlay graphic is to be presented in connection withthe video content item.
 11. The system of claim 10, wherein the hardwareprocessor is further configured to: determine that the user device doesnot have a capability to blend the overlay graphic with the firstportion of the video content item; and in response to determining thatthe user device does not have the capability to blend the overlaygraphic with the first portion of the video content item, apply atransparency value to the first portion of the video content item. 12.The system of claim 10, wherein the hardware processor is furtherconfigured to create a composite first portion of the video content itemby blending the overlay graphic with the first portion of the videocontent item using the blending information, wherein causing the firstportion of the video content item to be presented comprises causing thecomposite first portion of the video content item to be presented. 13.The system of claim 8, wherein the color palette information includescontrast information that indicates a contrast ratio of text of theelement of the user interface to a background color of the element ofthe user interface.
 14. The system of claim 8, wherein the color paletteinformation includes an idle color for the element of the user interfacewhen the user interface is determined to be in an idle state and anactive color for the element of the user interface when the userinterface is determined to be in an active state.
 15. A non-transitorycomputer-readable medium containing computer executable instructionsthat, when executed by a processor, cause the processor to performmethod for modifying user interface colors, the method comprising:receiving, at a user device, video data corresponding to a video contentitem and color palette information corresponding to the video contentitem, wherein the color palette information indicates a plurality ofcolors each corresponding to a portion of the video content item from aplurality of portions of the video content item, and wherein each colorof the plurality of colors indicates a color of an element of a userinterface in which the video content item is to be presented on the userdevice; identifying a first color for the element of the user interfacebased on the color palette information, wherein the first colorcorresponds to a first portion of the video content item; determiningwhether the user device is capable of blending the color of the elementof the user interface to obtain the first color from the color paletteinformation; in response to the determination, causing the first portionof the video content item to be presented within the user interface,wherein the color of the element of the user interface is blended toobtain the first color; identifying a second color for the element ofthe user interface, wherein the second color corresponds to a secondportion of the video content item; and updating an appearance of theelement of the user interface by blending the color of the element fromthe first color to the second color while presenting the second portionof the video content item.
 16. The non-transitory computer-readablemedium of claim 15, wherein the element is an overlay graphic that ispositioned to be presented over the presentation of the video contentitem within the user interface.
 17. The non-transitory computer-readablemedium of claim 16, wherein the color palette information includesblending information that indicates a presentation mode in which theoverlay graphic is to be presented in connection with the video contentitem.
 18. The non-transitory computer-readable medium of claim 17,wherein the method further comprises: determining that the user devicedoes not have a capability to blend the overlay graphic with the firstportion of the video content item; and in response to determining thatthe user device does not have the capability to blend the overlaygraphic with the first portion of the video content item, applying atransparency value to the first portion of the video content item. 19.The non-transitory computer-readable medium of claim 17, wherein themethod further comprises creating a composite first portion of the videocontent item by blending the overlay graphic with the first portion ofthe video content item using the blending information, wherein causingthe first portion of the video content item to be presented comprisescausing the composite first portion of the video content item to bepresented.
 20. The non-transitory computer-readable medium of claim 15,wherein the color palette information includes contrast information thatindicates a contrast ratio of text of the element of the user interfaceto a background color of the element of the user interface.
 21. Thenon-transitory computer-readable medium of claim 15, wherein the colorpalette information includes an idle color for the element of the userinterface when the user interface is determined to be in an idle stateand an active color for the element of the user interface when the userinterface is determined to be in an active state.